export default{
  inserted (el, bindings, vnode) {
    let btns = vnode.context.$store.state.user.btns
    let btn = bindings.value
    if (!btns.includes(btn)) {
      el.parentElement.removeChild(el)
    }
  }
}
